package DBPack;

public class Line {
	private String 	lineCode;
	private String 	startPoint;
	private String 	endPoint;
	private String 	direction;
	private int    	order;
	private String 	type;
	private Line 	previousLine;
	private Line 	nextLine;
	private int     stationCount;
	public Line() {
		super();
	}
	public Line(String lineCode, String startPoint, String endPoint, int order,
			String type) {
		super();
		this.lineCode = lineCode;
		this.startPoint = startPoint;
		this.endPoint = endPoint;
		this.order = order;
		this.type = type;
	}
	public Line(String lineCode, String startPoint, String endPoint,String direction, int order,
			String type) {
		super();
		this.lineCode = lineCode;
		this.startPoint = startPoint;
		this.endPoint = endPoint;
		this.direction=direction;
		this.order = order;
		this.type = type;
	}
	public Line(String lineCode, String startPoint, String endPoint,String direction, int order,String type,
			int stationCount) {
		super();
		this.lineCode = lineCode;
		this.startPoint = startPoint;
		this.endPoint = endPoint;
		this.direction=direction;
		this.order = order;
		this.type = type;
		this.stationCount = stationCount;
	}
	public String getDirection() {
		return direction;
	}
	public void setDirection(String direction) {
		this.direction = direction;
	}
	public String getLineCode() {
		return lineCode;
	}
	public void setLineCode(String lineCode) {
		this.lineCode = lineCode;
	}
	public String getStartPoint() {
		return startPoint;
	}
	public void setStartPoint(String startPoint) {
		this.startPoint = startPoint;
	}
	public String getEndPoint() {
		return endPoint;
	}
	public void setEndPoint(String endPoint) {
		this.endPoint = endPoint;
	}
	public int getOrder() {
		return order;
	}
	public void setOrder(int order) {
		this.order = order;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setNextLine(Line nextLine) {
		this.nextLine = nextLine;
	}
	public Line getNextLine() {
		return this.nextLine;
	}
	public void setPreviousLine(Line previousLine) {
		this.previousLine = previousLine;
	}
	public Line getPreviousLine() {
		return this.previousLine;
	}
	public int getStationCount() {
		return stationCount;
	}
	public void setStationCount(int stationCount) {
		this.stationCount = stationCount;
	}
	
}
